package com.zqwm.fly.service;

import java.util.List;
import java.util.Map;

public interface BaseServiceInterface<T>
{
    public boolean save(T entity);
    public boolean delete(Integer id);
    public boolean deleteByIds(String ids);
    public boolean update(T entity);
    public List<T> list(T entity);
    public List<T> list(Map<String, Object> map);
    public List<T> pageByParams(T entity, Integer page, Integer rows);
    public List<T> pageByParams(Map<String, Object> map, Integer page, Integer rows);
}
